package refactor.changebidirectionalassociationtounidirectional;

public class Order {
    private String id;

    public Order(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String state(Customer customer) {
        return "order id:" + id + ",customer name:" + customer.getName();
    }
}
